package one.stand.model;

import java.io.Serializable;
import java.util.Date;

public class CompanyAccount implements Serializable {
    private Integer accountId;

    private Integer companyId;

    private String companyKey;

    private Integer accountType;

    private String appName;

    private String wechatId;

    private String appId;

    private String appSecret;

    private String key;

    private String merchantId;

    private String certData;

    private String redirectUri;

    private Integer state;

    private Integer isDel;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public CompanyAccount(Integer accountId, Integer companyId, String companyKey, Integer accountType, String appName, String wechatId, String appId, String appSecret, String key, String merchantId, String certData, String redirectUri, Integer state, Integer isDel, Date createTime, Date updateTime) {
        this.accountId = accountId;
        this.companyId = companyId;
        this.companyKey = companyKey;
        this.accountType = accountType;
        this.appName = appName;
        this.wechatId = wechatId;
        this.appId = appId;
        this.appSecret = appSecret;
        this.key = key;
        this.merchantId = merchantId;
        this.certData = certData;
        this.redirectUri = redirectUri;
        this.state = state;
        this.isDel = isDel;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public CompanyAccount() {
        super();
    }

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getCompanyKey() {
        return companyKey;
    }

    public void setCompanyKey(String companyKey) {
        this.companyKey = companyKey == null ? null : companyKey.trim();
    }

    public Integer getAccountType() {
        return accountType;
    }

    public void setAccountType(Integer accountType) {
        this.accountType = accountType;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName == null ? null : appName.trim();
    }

    public String getWechatId() {
        return wechatId;
    }

    public void setWechatId(String wechatId) {
        this.wechatId = wechatId == null ? null : wechatId.trim();
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId == null ? null : appId.trim();
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret == null ? null : appSecret.trim();
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key == null ? null : key.trim();
    }

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId == null ? null : merchantId.trim();
    }

    public String getCertData() {
        return certData;
    }

    public void setCertData(String certData) {
        this.certData = certData == null ? null : certData.trim();
    }

    public String getRedirectUri() {
        return redirectUri;
    }

    public void setRedirectUri(String redirectUri) {
        this.redirectUri = redirectUri == null ? null : redirectUri.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}